<template>

</template>

<script>
  import {
    orderdetail
  } from "@/http/api.js";
  import axios from 'axios'
  import Qs from 'qs'

  export default {
    name: 'HelloWorld',
    data() {
      return {
        msg: 'Welcome to Your Vue.js App'
      }
    },
    mounted() {

      let data = {
        username: '13223408700',
        pwd: 'qwe123'
      }
      this.$api.login(Qs.stringify(data)).then(res => {
          console.log(res)
        })
        .catch(error => {

        })
    }


  }
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>

</style>